package com.oo.polymorphic_4.animal;

/**
 * Animal--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 16:35
 **/
public class Animal {

    private String name;

    private String color;

    private int age;

    public Animal() {
    }

    public Animal(String name, String color, int age) {
        this.name = name;
        this.color = color;
        this.age = age;
    }

    public void breed() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
